package com.pac.bean.homepage;

import com.alibaba.fastjson.JSON;

import java.util.List;

/**
 * Created by Administrator on 2015/4/22.
 */
public class Home {
    private List<HomePageSlideItem> slide;
    private List<HomePageCategoryItem> gcate;
    private List<HomePageDaRenItem>daren;
    private List<HomePageHotItem> hot;
    public static Home getInstanceFromJsonStr(String json){
        return JSON.parseObject(json,Home.class);
    }
    public List<HomePageSlideItem> getSlide() {
        return slide;
    }

    public void setSlide(List<HomePageSlideItem> slide) {
        this.slide = slide;
    }

    public List<HomePageCategoryItem> getGcate() {
        return gcate;
    }

    public void setGcate(List<HomePageCategoryItem> gcate) {
        this.gcate = gcate;
    }

    public List<HomePageDaRenItem> getDaren() {
        return daren;
    }

    public void setDaren(List<HomePageDaRenItem> daren) {
        this.daren = daren;
    }

    public List<HomePageHotItem> getHot() {
        return hot;
    }

    public void setHot(List<HomePageHotItem> hot) {
        this.hot = hot;
    }

    @Override
    public String toString() {
        return "Home{" +
                "slide=" + slide +
                ", gcate=" + gcate +
                ", daren=" + daren +
                ", hot=" + hot +
                '}';
    }
}
